

<!-- 秒杀专区 -->
<template>
	<view>
		<!-- header部分 -->
		<view class='header-Container header-height'>
			<view class="header-bg"></view>
			<navHeader pageTitle="限时秒杀" rightBtnType="msgCenter" colorTheme="white" @toggleMenuListHandler="toggleMenuListHandler">
			</navHeader>
		</view>
		
		<!-- 专区轮播 -->
		<view class="bannerList-Container">
			<swiper :indicator-dots="false" :autoplay="true" :interval="3000" :duration="1000"
				:current="areaSwiperIndex" @change="areaBannerSwiperChange">
				<swiper-item @click="resourceClick(item)" v-for="(item, index) in areaBannerList" :key="index" class="swiper-item">
					<image :src="imgSite + item.bannerAddress" mode=""></image>
				</swiper-item>
			</swiper>
			
			<!-- 专区分页 -->
			<view v-if="areaBannerList.length > 1" class="pages-Container">
				<view v-for="(item, index) in areaBannerList.length" :key="'area'+index" class="one-page" :class="{current: index == areaSwiperIndex}">
				</view>
			</view>
		</view>
		
		<!-- 提示时间 -->
		<view class="tipsTime-Container">
			<view class="title-Container">
				<image :src="icon.secondsTitle"></image>
				<view v-if="seckillType == 0" class="titleTip">
					距本轮结束
				</view>
				<view v-if="seckillType == 1" class="titleTip">
					距本轮开始
				</view>
				<view v-if="seckillType == 0" class="countDown0" key="countDown0">
					<uni-countdown color="#FFFFFF" background-color="#000000" border-color="#000000" :show-day="false" :hour="countDownHour" :minute="countDownMinute" :second="countDownSeconds"></uni-countdown>
				</view>
				<view v-if="seckillType == 1" class="countDown1" key="countDown1">
					<uni-countdown color="#FFFFFF" background-color="#000000" border-color="#000000" :show-day="false" :hour="countDownHour" :minute="countDownMinute" :second="countDownSeconds"></uni-countdown>
				</view>
				<image class="secondsLogo" :src="icon.secondsLogo"></image>
			</view>
		</view>
		
		<!-- 秒杀类型 -->
		<view class="seckillType-Container">
			<view @click="changeSeckillType(0)" class="seckillType" :class="{current: seckillType == 0}">
				正在疯抢
			</view>
			<view @click="changeSeckillType(1)" class="seckillType" :class="{current: seckillType == 1}">
				即将开始
			</view>
			<image v-if="seckillType == 0" :src="icon.seckillType0_Bg" class="seckillType0_Bg"></image>
			<image v-if="seckillType == 1" :src="icon.seckillType1_Bg" class="seckillType1_Bg"></image>
		</view>
		
		
		<!-- 正在疯抢 -->
		<view v-if="seckillType == 0" class="seckill-Container">
			
			<!-- 专区分类 -->
			<view class="navbar">
				<view class="navItem-Container">
					<view 
						v-for="(item, index) in navList" :key="index" 
						class="nav-item" 
						:class="{current: categoryId == item.id}"
						@click="categoryClick(index)"
					>
						{{item.name}}
					</view>
				</view>
				
				<view @click="toggleMoreNavbar" class="moreCategory">
					<image src="/static/images/user/helpService/downIcon.png" mode=""></image>
				</view>
			</view>
			
			
			<view style="position: relative;">
				<view v-if="showMoreNavbarFlag" class="moreNavbar-Container" style="z-index: 999; position: absolute; top: 0;">
					<view
						v-for="(item, index) in navList" :key="index" 
						class="nav-item" 
						:class="{current: categoryId == item.id}"
						@click="categoryClick(index)"
					>
						{{item.name}}
					</view>
				</view>
			</view>
			
			
			<!-- 商品列表 -->
			<view v-if="secondsGoodsList && secondsGoodsList.length" class="goodsList-Container">
				<view v-for="(item, index) in secondsGoodsList" :key="index" class="goodsList-Item">
					<image @click="gotoSeckillDetailPage(item.goodsCd)" class="goodsCover" :src="imgSite + item.coverPicture" mode=""></image>
					<view class="goodsInfo">
						<view @click="gotoSeckillDetailPage(item.goodsCd)" class="goodsName ellipsis2">
							{{item.goodsName}}
						</view>
						<view class="percent-Container">
							<view class="percentOut">
								<view class="percentIn" :style="{width: item.robbed+'%'}">
								</view>
								<view class="percentText">
									已抢{{item.robbed}}%
								</view>
							</view>
							<view class="surplusText">
								仅剩{{item.activityStock}}件
							</view>
						</view>
						<view class="price-Container">
							<view class="priceOut">
								<view class="activityPrice">
									<text class="money-icon">￥</text>
									<text class="price-int">{{item.activityPrice / 100}}</text>
									<!-- <text class="price-float">.00</text> -->
								</view>
								<view class="marketPrice">
									￥{{item.marketPrice / 100}}
								</view>
							</view>
							<view @click="gotoSeckillDetailPage(item.goodsCd)" class="grabItNow-Btn">
								马上抢
							</view>
						</view>
					</view>
				</view>
			</view>
			<g-empty v-else></g-empty>
		</view>
		
		
		<!-- 即将开始 -->
		<view v-if="seckillType == 1" class="willStart-Container">
			<scroll-view v-if="navList && navList.length" scroll-x="true" class="will-navbar">
				<view 
					v-for="(item, index) in navList" :key="index" 
					class="will-nav-item" 
					:class="{current: categoryId == item.activityId}"
					@click="categoryClick(index)"
				>
					<view class="title" style="">{{ item.name }}</view>
					<view class="desc">即将开抢</view>
				</view>
			</scroll-view>
			
			
			<!-- 商品列表 -->
			<view v-if="secondsGoodsList && secondsGoodsList.length" class="goodsList-Container">
				<view v-for="(item, index) in secondsGoodsList" :key="index" class="goodsList-Item">
					<image @click="gotoSeckillDetailPage(item.goodsCd)" class="goodsCover" :src="imgSite + item.coverPicture" mode=""></image>
					<view class="goodsInfo">
						<view @click="gotoSeckillDetailPage(item.goodsCd)" class="goodsName ellipsis2">
							{{item.goodsName}}
						</view>
						<view class="percent-Container">
							<view class="percentOut">
								<view class="percentIn">
								</view>
								<view class="percentText">
									未开始
								</view>
							</view>
							<view class="surplusText">
								限量{{item.activityStock}}件
							</view>
						</view>
						<view class="price-Container">
							<view class="priceOut">
								<view class="activityPrice">
									<text class="money-icon">￥</text>
									<text class="price-int">{{item.activityPrice / 100}}</text>
									<!-- <text class="price-float">.00</text> -->
								</view>
								<view class="marketPrice">
									￥{{item.marketPrice / 100}}
								</view>
							</view>
							<!-- 1:提醒; 2:未提醒 -->
							<view v-if="item.whetherRemind == 1" @click="setupRemindAndCancel(index, item.activityGoodsId)" class="cancelRemind-Btn">
								取消提醒
							</view>
							<view v-if="item.whetherRemind == 2" @click="setupRemindAndCancel(index, item.activityGoodsId)" class="setupRemind-Btn">
								提醒我
							</view>
						</view>
					</view>
				</view>
			</view>
			<g-empty v-else></g-empty>
		</view>
		
		
		<!-- 提醒开启 -->
		<view v-if="showRemindDialog" @click="closeRemindDialog()" class="remindOuter-Container">
			<view class="remindInner-Continer">
				<view class="title">
					提醒开启成功！
				</view>
				<view class="desc">
					将在本次秒杀开启前<text class="minuts">{{remindTimeOut}}</text>分钟给您发送提醒。
				</view>
				<view @click="closeRemindDialog()" class="iKnow-Btn">
					我知道了
				</view>
			</view>
		</view>
		
		
		<!-- 详情菜单 -->
		<view v-if="showDetailMenu" @click="toggleMenuListHandler()" class="detailMenu-Container">
			<detailMenu></detailMenu>
		</view>
	</view>
</template>

<script>
	import {
		mapState,
		mapMutations
	} from 'vuex';
	
	import goodList from '@/components/goodList/goodList';
	import goodListtransverse from '@/components/goodList/goodList-transverse';
	import navbar from '@/components/navbar/navbar';
	import navHeader from '@/components/nav-header/nav-header';
	import detailMenu from "@/components/detailMenu/detailMenu";
	
	export default {
		components: {
			goodList,
			navbar,
			goodListtransverse,
			navHeader,
			detailMenu
		},
		computed: {
			...mapState(['imgSite'])
		},
		data() {
			return {
				icon:{
					secondsTitle: '/static/images/index/secondsTitle.png',
					secondsLogo: '/pagesGoods/static/images/specialArea/seckillArea/logo.png',
					seckillType0_Bg: '/pagesGoods/static/images/specialArea/seckillArea/seckillType0_Bg.png',
					seckillType1_Bg: '/pagesGoods/static/images/specialArea/seckillArea/seckillType1_Bg.png',
				},
				
				//详情菜单
				showDetailMenu: false,
				
				//专区banner
				areaSwiperIndex: 0,
				areaBannerList: [],
				
				//秒杀类型
				seckillType: 0,
				
				//专区分类
				navList: [],
				categoryId: "",
				showMoreNavbarFlag: false,
				
				// 秒杀商品
				countDownHour: 0,
				countDownMinute: 0,
				countDownSeconds: 0,
				secondsGoodsList: [],
				
				remindTimeOut: -1,
				showRemindDialog: false,
				
				//分页相关
				pageNum: 1,
				pageSize: 10
			};
		},
		onLoad(options) {
			
			var that = this;
			
			//专区banner
			that.$api.globalUtil.getAreaBanner("30", function(res) {
				that.areaBannerList = res.data.response;
			});
			
			//限时秒杀
			this.secondsCategory_fun();
		},
		onShow() {
			this.showDetailMenu = false;
		},
		methods: {
			
			//详情菜单
			toggleMenuListHandler() {
				this.showDetailMenu = !this.showDetailMenu;
			},
			
			
			//banner分页
			areaBannerSwiperChange(e) {
				this.areaSwiperIndex = e.detail.current;
			},
			
			
			//点击跳转
			resourceClick(item) {
				this.$api.globalUtil.adJumpToOtherPage(item);
			},
			
			
			//切换秒杀类型
			changeSeckillType(type) {
				this.seckillType = type;
				this.navList = [];
				this.secondsGoodsList = [];
				this.secondsCategory_fun();
			},
			
			
			// 限时秒杀
			secondsCategory_fun() {
				
				//计时重置
				this.countDownHour = 0;
				this.countDownMinute = 0;
				this.countDownSeconds = 0;
			
				var activityFlag = 0;
				if(this.seckillType == 0) {
					activityFlag = 20;
				}else if(this.seckillType == 1) {
					activityFlag = 10;
				}
				
				var that = this;
				that.pageNum = 1;
				that.secondsGoodsList = [];
				that.$api.globalUtil.requestAjax({
					url: '/ActivityApi/activityTimeListApi',
					method: "POST",
					data: {
						activityType: 2, //秒杀活动
						activityFlag: activityFlag //20：活动进行中; 10：活动未开始
					},
					success: function(res) {
						if(res.data.success) {
							
							if(res.data.response && res.data.response.length) {
								
								var countDown = that.$api.globalUtil.startTimeFormate(res.data.response[0].endDt, res.data.response[0].currentDateTime);
								that.countDownHour = countDown['hour'];
								that.countDownMinute = countDown['minute'];
								that.countDownSeconds = countDown['seconds'];
								
								if(that.seckillType == 0) {
									that.$api.globalUtil.requestAjax({
										url: '/GoodsCategoryApi/findActivityGoodsCategoryFirstByTypeApi',
										data:{
											activityType: 2, //秒杀活动
											activityFlag: activityFlag //20：活动进行中; 10：活动未开始
										},
										method: "POST",
										success: function(res) {
											if(res.data.success) {
												that.navList = res.data.response;
												if(res.data.response && res.data.response.length) {
													that.categoryId = res.data.response[0].id;
													that.getAreaGoodsList(res.data.response[0].activityId);
												}
											}
										}
									});
								}else if(that.seckillType == 1) {
									
									for(let i = 0; i < res.data.response.length; i++) {
										res.data.response[i].name = that.startMonthDayFormate(res.data.response[i].beginDt);
									}
									
									that.navList = res.data.response;
									that.categoryId = res.data.response[0].activityId;
									that.getAreaGoodsList(res.data.response[0].activityId);
								}
							}else {
								
								//计时重置
								that.countDownHour = 0;
								that.countDownMinute = 0;
								that.countDownSeconds = 0;
								
								that.navList = [];
								that.categoryId = "";
								that.secondsGoodsList = [];
							}
						}
					}
				});
			},
			startMonthDayFormate(time) {
				var ymd = new Date(time);
				return (ymd.getMonth() + 1) + '月' + ymd.getDate() + '日';
			},
			
			
			//分类点击
			categoryClick(index){
				this.showMoreNavbarFlag = false;
				if(this.seckillType == 0) {
					this.categoryId = this.navList[index].id;
				}else if(this.seckillType == 1) {
					this.categoryId = this.navList[index].activityId;
				}
				
				this.pageNum = 1;
				this.secondsGoodsList = [];
				this.getAreaGoodsList(this.categoryId);
			},
			
			
			//toggle更多分类
			toggleMoreNavbar() {
				this.showMoreNavbarFlag = !this.showMoreNavbarFlag;
			},
			

			//商品列表
			getAreaGoodsList(activityId) {
				
				var activityFlag = 0;
				if(this.seckillType == 0) {
					activityFlag = 20;
				}else if(this.seckillType == 1) {
					activityFlag = 10;
				}
				
				var that = this;
				that.$api.globalUtil.requestAjax({
					url: '/ActivityApi/activityGoodsListApi',
					method: "POST",
					data: {
						goodsCategoryThird: activityId,
						activityType: 2, //秒杀活动
						activityFlag: activityFlag, //20：活动进行中; 10：活动未开始
						pageNum: that.pageNum,
						pageSize: that.pageSize
					},
					success: function(res) {
						if(res.data.success) {
							
							if(res.data.response.results.length) {
								if(that.pageNum == 1) {
									that.secondsGoodsList = res.data.response.results;
								}else {
									that.secondsGoodsList = that.secondsGoodsList.concat(res.data.response.results);
								}
							}else {
								that.$api.msg("没有更多数据！");
							}
						}
					},
				});
			},
			
			
			//秒杀详情
			gotoSeckillDetailPage(id) {
				uni.navigateTo({
					url: '/pages/detail/seckill?id='+id
				});
			},
			
			
			//提醒&取消
			setupRemindAndCancel(index, activityGoodsId) {
				
				var that = this;
				that.$api.globalUtil.requestAjax({
					url: '/ActivityApi/activityRemindApi',
					method: "POST",
					data: {
						activityGoodsId: activityGoodsId
					},
					success: function(res) {
						if(res.data.success) {
							
							if(res.data.response.status) {
								that.secondsGoodsList[index].whetherRemind = 1;
								that.remindTimeOut = res.data.response.time;
								that.showRemindDialog = true;
							}else {
								that.secondsGoodsList[index].whetherRemind = 2;
								that.showRemindDialog = false;
								that.$api.msg("取消提醒成功!");
							}
						}
					}
				});
			},
			closeRemindDialog() {
				this.showRemindDialog = false;
			}
		},
		onPullDownRefresh() {
			var that = this;
			that.pageNum = 1;
			
			setTimeout(function () {
				uni.stopPullDownRefresh();
			}, 1500);
			
			that.getAreaGoodsList();
		},
		onReachBottom() {
			var that = this;
			that.pageNum = that.pageNum + 1;
			
			setTimeout(function () {
				uni.stopPullDownRefresh();
			}, 1500);
			
			that.getAreaGoodsList();
		}
	}
</script>

<style lang="scss">
	
	// header部分
	.header-Container {
		width: 100%;
		height: 176rpx;
		overflow: hidden;
		box-shadow: 0px 1rpx 1rpx 0px rgba(0, 0, 0, 0.08);
		background: rgba(255, 255, 255, 1);
		
		.header-bg {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background:#FE5E49;
		}
	
		.leftBtns {
			display: flex;
			align-items: center;
			justify-content: flex-start;
			position: absolute;
			bottom: 0;
			width: 100%;
			height: 86rpx;
	
			.back {
				margin-left: 17rpx;
				width: 44rpx;
				height: 44rpx;
			}
		}
	
		.title {
			position: absolute;
			bottom: 0;
			width: 100%;
			height: 86rpx;
			line-height: 86rpx;
			text-align: center;
			font-size: 36rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: rgba(51, 51, 51, 1);
		}
	}
	
	
	//专区轮播
	.bannerList-Container {
		position: relative;
		width: 100%;
		height: 300rpx;
		
		swiper, .swiper-item {
			display: flex;
			justify-content: space-between;
			width: 100%;
			height: 100%;
			
			image {
				width: 100%;
				height: 100%;
			}
		}
		
		//分页
		.pages-Container {
			display: flex;
			align-items: center;
			justify-content: center;
			position: absolute;
			bottom: 0;
			width: 100%;
			height: 34rpx;
			
			.one-page {
				margin-right: 10rpx;
				width:10rpx;
				height:10rpx;
				background:rgba(255,255,255,1);
				opacity:0.5;
				border-radius:50%;
	
				&.current {
					margin-right: 10rpx;
					width:36rpx;
					height:10rpx;
					background:rgba(255,255,255,1);
					border-radius:5rpx;
				}
			}
		}
	}
	
	
	//提示时间
	.tipsTime-Container {
		display: flex;
		align-items: center;
		margin-top: 20rpx;
		width:750rpx;
		height:80rpx;
		background:rgba(255,255,255,1);
		border-radius:8rpx;

		.title-Container {
			display: flex;
			align-items: center;
			padding: 0 0 0 30upx;
			width: 100%;
			height: 80upx;
		
			image {
				width: 123upx;
				height: 34upx;
			}
		
			.titleTip {
				margin-left: 54rpx;
				margin-right: 30rpx;
				font-size:28rpx;
				font-family:PingFang SC;
				// font-weight:bold;
				color:rgba(51,51,51,1);
			}
			
			.secondsLogo {
				margin-left: auto;
				width: 80rpx;
				height: 80rpx;
			}
		}
	}
	
	
	//秒杀类型
	.seckillType-Container {
		position: relative;
		display: flex;
		align-items: center;
		margin-top: 20rpx;
		width: 100%;
		height: 98rpx;
		background-color: #FFF9FA;
		box-shadow:0px 0px 10rpx 0px rgba(107,107,107,0.15);
		border-radius:20rpx 20rpx 0px 0px;

		.seckillType {
			z-index: 99;
			position: absolute;
			width: 50%;
			height: 98rpx;
			line-height: 98rpx;
			text-align: center;
			font-size:34rpx;
			font-family:PingFang SC;
			font-weight:bold;
			color:rgba(51,51,51,1);
			
			&:first-of-type {
				left: 0;
				top: 0;
			}
			&:last-of-type {
				right: 0;
				top: 0;
			}
			
			&.current {
				color: #E01327;
			}
		}
		
		.seckillType0_Bg {
			position: absolute;
			right: 0;
			top: 0;
			width: 408rpx;
			height: 98rpx;
		}
		
		.seckillType1_Bg {
			position: absolute;
			left: 0;
			top: 0;
			width: 410rpx;
			height: 98rpx;
		}
	}
	
	
	//专区分类
	.navbar{
		display: flex;
		height: 80rpx;
		background: #FFE3E7;
		box-shadow: 0 1px 5px rgba(0,0,0,.06);
		position: relative;
		z-index: 10;
		
		.nav-item{
			flex: 1;
			display: flex;
			justify-content: center;
			align-items: center;
			position: relative;
			height: 100%;
			font-size:24rpx;
			font-family:PingFang;
			font-weight:500;
			color:rgba(51,51,51,1);
			
			&.current{
				font-weight:bold;
				color:rgba(51,51,51,1);
				&:after{
					content: '';
					position: absolute;
					left: 50%;
					bottom: 12rpx;
					transform: translateX(-50%);
					width: 44px;
					height: 0;
					width: 50rpx;
					height: 4rpx;
					background:linear-gradient(135deg,rgba(209,2,168,1) 0%,rgba(210,23,40,1) 100%);
					border-radius:2px;
				}
			}
		}
		
		.moreCategory {
			display: flex;
			align-items: center;
			justify-content: center;
			margin-left: auto;
			width: 80rpx;
			height: 80rpx;
			
			image {
				width: 21rpx;
				height: 12rpx;
			}
		}
	}
	
	// 更多分类容器
	.moreNavbar-Container {
		display: flex;
		flex-wrap: wrap;
		z-index: 999;
		position: absolute;
		top: 0px;
		padding: 26rpx 30rpx;
		width: 100%;
		background:rgba(255,255,255,1);
		border-radius:0px 0px 16rpx 16rpx;
		
		.nav-item {
			margin-right: 20rpx;
			margin-bottom: 20rpx;
			padding: 0 15rpx;
			display: inline-block;
			height:36rpx;
			line-height: 36rpx;
			text-align: center;
			font-size:20rpx;
			font-family:PingFang;
			// font-weight:500;
			color:rgba(102,102,102,1);
			background:rgba(238,238,238,1);
			border:1rpx solid rgba(229,229,229,1);
			border-radius:18rpx;
		}
		
		.current {
			color: #E01327;
			background:rgba(238,238,238,1);
			border:1rpx solid rgba(223,18,47,1);
			// border-image:linear-gradient(135deg, rgba(209,2,168,1), rgba(210,23,40,1)) 10 10;
		}
	}
	
	
	//即将开始
	/deep/.uni-scroll-view-content {
		display: flex;
		align-items: center;
	}
	.willStart-Container {
		.will-navbar {
			display: flex;
			align-items: center;
			padding: 0 30rpx;
			overflow: hidden;
			white-space: nowrap;
			width: 100%;
			height: 80rpx;
			background: #FFE3E7;
			box-shadow: 0 1px 5px rgba(0,0,0,.06);
			position: relative;
			z-index: 10;
			
			.will-nav-item {
				display: inline-block;
				position: relative;
				margin: 0 45rpx;
				// padding: 8rpx 0 6rpx 0;
				height: 60rpx;
				text-align: center;
				
				&:first-of-type {
					margin-left: 0;
				}
				
				.title {
					font-size:24rpx;
					font-family:PingFang SC;
					// font-weight:bold;
					color:rgba(224,19,39,1);
				}
				
				.desc {
					font-size:18rpx;
					font-family:PingFang SC;
					// font-weight:500;
					color:rgba(224,19,39,1);
				}
				
				&.current {
					padding: 0 30rpx;
					background:rgba(216,60,74,1);
					border-radius:30rpx;
					
					.title, .desc {
						color: #FFFFFF;
					}
				}
			}
		}
	}
	
	
	//商品列表
	.goodsList-Container {
		padding: 20rpx 0 60rpx 0;
		width: 100%;
		height: auto;
		background:rgba(255,249,250,1);
		
		.goodsList-Item {
			display: flex;
			align-items: center;
			justify-content: space-between;
			margin: 0 auto;
			margin-bottom: 20rpx;
			padding: 0 22rpx 0 10rpx;
			width: 690rpx;
			height: 280rpx;
			background:rgba(255,255,255,1);
			border-radius:10rpx;
			
			.goodsCover {
				width: 260rpx;
				height: 260rpx;
			}
			
			.goodsInfo {
				display: flex;
				flex-direction: column;
				padding: 16rpx 0 24rpx 0;
				width: 376rpx;
				height: 260rpx;
				
				.goodsName {
					height: 72rpx;
					line-height:36rpx;
					font-size:26rpx;
					font-family:PingFang SC;
					color:rgba(51,51,51,1);
				}
				
				.percent-Container {
					display: flex;
					align-items: center;
					justify-content: space-between;
					margin-top: 24rpx;
					
					.percentOut {
						display: flex;
						align-items: center;
						justify-content: space-between;
						position: relative;
						overflow: hidden;
						width:240rpx;
						height:24rpx;
						background:rgba(255,172,180,1);
						border-radius:12rpx;
						
						.percentIn {
							height:24rpx;
							background:rgba(224,19,39,1);
							border-radius:12rpx;
						}
						
						.percentText {
							position: absolute;
							left: 0;
							top: 0;
							width:240rpx;
							height:24rpx;
							line-height: 24rpx;
							text-align: center;
							font-size:18rpx;
							font-family:PingFang SC;
							color:rgba(255,255,255,1);
						}
					}
					
					.surplusText {
						margin-right: 10rpx;
						font-size:20rpx;
						font-family:PingFang SC;
						color:rgba(153,153,153,1);
					}
				}
				
				.price-Container {
					display: flex;
					align-items: center;
					justify-content: space-between;
					margin-top: auto;
					width: 100%;
					height: 58rpx;
					
					.priceOut {
						display: flex;
						flex-direction: column;
						justify-content: space-between;
						
						.activityPrice {
							// display: flex;
							// align-items: flex-end;
							color: #D21728;
							
							.money-icon {
								font-size: 24rpx;
								font-family: PingFang SC;
								font-weight: 500;
								color: rgba(210, 23, 40, 1);
							}
							.price-int {
								font-size: 32rpx;
								font-family: PingFang SC;
								color: rgba(210, 23, 40, 1);
							}
							.price-float {
								font-size: 24rpx;
								font-family: PingFang SC;
								color: rgba(210, 23, 40, 1);
							}
						}
						
						.marketPrice {
							font-size: 22rpx;
							font-family: PingFang SC;
							text-decoration: line-through;
							color: #999999;
						}
					}
					
					//马上抢
					.grabItNow-Btn {
						width:140rpx;
						height:58rpx;
						line-height: 58rpx;
						text-align: center;
						font-size:24rpx;
						font-family:PingFang SC;
						// font-weight:bold;
						color:rgba(255,255,255,1);
						background:linear-gradient(135deg,rgba(209,4,152,1) 0%,rgba(210,23,40,1) 100%);
						border-radius:29rpx;
					}
					
					//提醒我
					.setupRemind-Btn {
						width:140rpx;
						height:58rpx;
						line-height: 58rpx;
						text-align: center;
						font-size:24rpx;
						font-family:PingFang SC;
						// font-weight:bold;
						color:rgba(255,255,255,1);
						background:linear-gradient(-45deg,rgba(255,126,0,1) 0%,rgba(255,156,0,1) 100%);
						border-radius:29rpx;
					}
					
					//取消提现
					.cancelRemind-Btn {
						width:140rpx;
						height:58rpx;
						line-height: 58rpx;
						text-align: center;
						font-size:24rpx;
						font-family:PingFang SC;
						// font-weight:bold;
						color:rgba(255,255,255,1);
						background:#CCCCCC;
						border-radius:29rpx;
					}
				}
			}
		}
	}
	
	
	//开启提醒
	.remindOuter-Container {
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 999;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background:rgba(0,0,0,0.7);
		
		.remindInner-Continer {
			display: flex;
			flex-direction: column;
			padding: 70rpx 0 58rpx 0;
			width:600rpx;
			height:378rpx;
			background:rgba(255,255,255,1);
			border-radius:16rpx;
			
			.title {
				width: 100%;
				line-height:40rpx;
				text-align: center;
				font-size:30rpx;
				font-family:PingFang SC;
				// font-weight:500;
				color:rgba(51,51,51,1);
			}
			
			.desc {
				margin-top: 50rpx;
				width: 100%;
				line-height:40rpx;
				text-align: center;
				font-size:26rpx;
				font-family:PingFang SC;
				// font-weight:500;
				color:rgba(51,51,51,1);
				
				.minuts {
					color: #D83C4A;
				}
			}
			
			.iKnow-Btn {
				margin: 0 auto;
				margin-top: auto;
				width:418rpx;
				height:70rpx;
				line-height: 70rpx;
				text-align: center;
				font-size:28rpx;
				font-family:PingFang SC;
				// font-weight:500;
				color:rgba(255,255,255,1);
				background:#FE5E49;
				border-radius:35rpx;
			}
		}
	}
</style>




